package com.bit.transaction.service;

import com.bit.transaction.mapper.LogInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

@Slf4j
@Mapper
public class LogService {
    @Autowired
    private LogInfoMapper logInfoMapper;
    public void insertLog(String name, String op){
        logInfoMapper.insertLog(name,"用户注册");
        log.info("LogService-日志记录");
    }
}
